"""
逻辑运算符
"""

def testLogicOpetator():
    a, b = 2, 10
    
    # and
    print("a < 3 && b > 4 is {}".format(a < 3 and b > 4))

    # or 
    print("a < 1 or b > 4 is {}".format(a < 1 or b > 4))

    # not
    print("a != 3 is {}".format(a != 3))

testLogicOpetator()